import redis
from public.config import config


POOL = redis.ConnectionPool(
    db=config.REDIS_DB,
    host=config.REDIS_HOST,
    port=config.REDIS_PORT,
    password=config.REDIS_PASSWD,
    max_connections=config.REDIS_MAX_CONNECTIONS,
    decode_responses=config.REDIS_DECODE_RESPONSES
)
